package com.demo.controller;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author mifei
 * @create 2019-11-08 13:17
 **/
@Data
public class User {

    @NotBlank(message="用户名不能为空")
    private String username;

    private String age;



}
